
<form action="<?{$baseurl}?>/purview/set" method="POST">
<div>
<ul>
	<li>
	账号: <select name="passport">
	<?{foreach from=$ret item=value}?>
		<option value="<?{$value.id}?>" ><?{$value.passport}?></option>
	<?{/foreach }?>
	</select>
	</li>
</ul>
</div>


<?{foreach from=$lists item=values}?>
<table>
	<tr>
		<td width="120px">
			<input class="parent" id="<?{$values.id}?>" name="fanall" type="checkbox" />
			<?{$values.title}?>
		</td>
		<td width="880px">
			<?{foreach from=$values.child item=v}?>
				<input value="<?{$v.id}?>" type="checkbox" name='child.<?{$v.pid}?>' /><?{$v.title}?>
			<?{/foreach }?>
		</td>
	</tr>
</table>
<?{/foreach }?>
</table>

<br>
<input type="submit" name="submit" value="提交" />
</form>